package com.xiaohudie.servier.Impi;

import com.xiaohudie.mapper.UserMapper;
import com.xiaohudie.pojo.User;
import com.xiaohudie.servier.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @Author xiao hu die
 * @Date 2022/3/8 15:02
 * @Version 1.0
 */
@Service
public class UserServiceImpl implements UserService {
 @Resource
 private UserMapper userMapper;
 @Override
 public User getUser(String phone) {
  User user = userMapper.getUser(phone);
  return user;
 }
}
